package com.example.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zx
 * @date 2022/11/24
 * @Description
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PaymentRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 缴费id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单号
     */
    private String orderNumber;

    /**
     * 订单缴费时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date payDate;

    /**
     * int类型 0-业务费 1-水费 2-电费 3-燃气费
     */
    private Integer payType;

    /**
     * 房屋
     */
    private String roomNumber;

    /**
     * 单价
     */
    private Float billNum;

}
